<!DOCTYPE html>
<html>
<head>
    <title>审批节点</title>
		<#include "/header.html">
</head>
<body>
<div id="rrapp" v-cloak>
    <div v-show="showList">
        <div class="grid-btn">
			<#if shiro.hasPermission("approve:tblapproveflowsite:save")>
            <a class="btn btn-primary" @click="add"><i class="fa fa-plus"></i>&nbsp;新增</a>
			</#if>
			<#if shiro.hasPermission("approve:tblapproveflowsite:update")>
            <a class="btn btn-primary" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a>
			</#if>
			<#if shiro.hasPermission("approve:tblapproveflowsite:delete")>
            <a class="btn btn-primary" @click="del"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
			</#if>
        </div>
        <table id="jqGrid"></table>
        <div id="jqGridPager"></div>
    </div>

    <div v-show="!showList" class="panel panel-default">
        <div class="panel-heading">{{title}}</div>
        <form class="form-horizontal">
														                    <div class="form-group">
                        <div class="col-sm-2 control-label">审批流程</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="tblApproveFlowSite.flowId" placeholder=""/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">站点类型</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="tblApproveFlowSite.siteName" placeholder="站点类型"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">职位</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="tblApproveFlowSite.positionId" placeholder=""/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">审批</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="tblApproveFlowSite.approveFlag" placeholder="审批"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">修改</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="tblApproveFlowSite.changeFlag" placeholder="修改"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">驳回</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="tblApproveFlowSite.rejectFlag" placeholder="驳回"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">驳回至节点</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="tblApproveFlowSite.rejectFsiteId" placeholder="驳回至节点"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">下一个节点</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="tblApproveFlowSite.nextSiteId" placeholder="下一个节点"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">节点类型</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="tblApproveFlowSite.siteType" placeholder="节点类型"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-2 control-label">公司名称</div>
                        <div class="col-sm-10">
                            <select  style="width:100px;height: 30px" id="companyData" v-model="tblApproveFlowSite.companyId"></select>
                        </div>
                    </div>
											                    <div class="form-group" style="display: none">
                        <div class="col-sm-2 control-label">备注</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="tblApproveFlowSite.attribute1" placeholder="备注"/>
                        </div>
                    </div>
											                    <div class="form-group" style="display: none">
                        <div class="col-sm-2 control-label">备注</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="tblApproveFlowSite.attribute2" placeholder="备注"/>
                        </div>
                    </div>
											                    <div class="form-group" style="display: none">
                        <div class="col-sm-2 control-label">备注</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="tblApproveFlowSite.attribute3" placeholder="备注"/>
                        </div>
                    </div>
											                    <div class="form-group" style="display: none">
                        <div class="col-sm-2 control-label">备注</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="tblApproveFlowSite.attribute4" placeholder="备注"/>
                        </div>
                    </div>
											                    <div class="form-group" style="display: none">
                        <div class="col-sm-2 control-label">备注</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="tblApproveFlowSite.attribute5" placeholder="备注"/>
                        </div>
                    </div>
											                    <div class="form-group" style="display: none">
                        <div class="col-sm-2 control-label"></div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="tblApproveFlowSite.createTime" placeholder=""/>
                        </div>
                    </div>
											                    <div class="form-group" style="display: none">
                        <div class="col-sm-2 control-label"></div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="tblApproveFlowSite.createBy" placeholder=""/>
                        </div>
                    </div>
											                    <div class="form-group" style="display: none">
                        <div class="col-sm-2 control-label"></div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="tblApproveFlowSite.updateTime" placeholder=""/>
                        </div>
                    </div>
											                    <div class="form-group" style="display: none">
                        <div class="col-sm-2 control-label"></div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="tblApproveFlowSite.updateBy" placeholder=""/>
                        </div>
                    </div>
							            <div class="form-group">
                <div class="col-sm-2 control-label"></div>
                <input type="button" class="btn btn-primary" @click="saveOrUpdate" value="确定"/>
                &nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>
            </div>
        </form>
    </div>
</div>

<script src="${request.contextPath}/statics/js/modules/approve/tblapproveflowsite.js?_${.now?long}"></script>
</body>
</html>